﻿using System.IO;
using Styx;
using Styx.Helpers;
using Styx.Common;
using Styx.Common.Helpers;
using Styx.WoWInternals;

namespace DoABarrelRoll
{
    public class DoABarrelRollSettings : Settings
    {
        public static readonly DoABarrelRollSettings Instance = new DoABarrelRollSettings();

        public DoABarrelRollSettings()
            : base(Path.Combine(Settings.SettingsDirectory, string.Format(@"DoABarrelRoll/{0}-{1}.xml", StyxWoW.Me.Name, Lua.GetReturnVal<string>("return GetRealmName()", 0))))
        {
        }
        //BuddyManager\\{1}-{2}\\TaskList.xml", Settings.SettingsDirectory, StyxWoW.Me.Name, Lua.GetReturnVal<string>("return GetRealmName()", 0));

        [Setting, DefaultValue(true)]
        public bool UseRoll { get; set; }
    }
}